Skip to content

chore: optimize default binary file check#140

Merged
brianheineman merged 1 commit intomainfrom
optimize-is-binary
Jun 28, 2025
Merged

chore: optimize default binary file check#140
brianheineman merged 1 commit intomainfrom
optimize-is-binary

Conversation

@brianheineman
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 28, 2025

🐰 Bencher Report

Branchoptimize-is-binary
TestbedLinux

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds flag.

Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
file-format::from_bytes📈 view plot
⚠️ NO THRESHOLD
786.40 ns
file-format::from_bytes (2GiB)📈 view plot
⚠️ NO THRESHOLD
1,571.90 ns
file_type::from_bytes📈 view plot
⚠️ NO THRESHOLD
3,595.10 ns
file_type::from_bytes (2GiB)📈 view plot
⚠️ NO THRESHOLD
4,857.70 ns
file_type::from_extension📈 view plot
⚠️ NO THRESHOLD
24.18 ns
file_type::from_media_type📈 view plot
⚠️ NO THRESHOLD
25.73 ns
file_type::try_from_file📈 view plot
⚠️ NO THRESHOLD
9,861.20 ns
infer::from_bytes📈 view plot
⚠️ NO THRESHOLD
322.42 ns
infer::from_bytes (2GiB)📈 view plot
⚠️ NO THRESHOLD
356.83 ns
magic::from_bytes📈 view plot
⚠️ NO THRESHOLD
359,640.00 ns
mime_guess::from_extension📈 view plot
⚠️ NO THRESHOLD
7.62 ns
mime_guess::from_media_type📈 view plot
⚠️ NO THRESHOLD
97.39 ns
🐰 View full continuous benchmarking report in Bencher

@codecov
Copy link

codecov bot commented Jun 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.95%. Comparing base (7a38f81) to head (7cd26e9).
⚠️ Report is 23 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #140   +/-   ##
=======================================
  Coverage   97.95%   97.95%           
=======================================
  Files          29       29           
  Lines        2734     2739    +5     
=======================================
+ Hits         2678     2683    +5     
  Misses         56       56           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@brianheineman brianheineman merged commit 4b389ad into main Jun 28, 2025
29 of 30 checks passed
@brianheineman brianheineman deleted the optimize-is-binary branch June 28, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant